<?php
$fb = new FormBuilder('viRegistration', $searchForm);
$fb->setAction('/admin/viRegistration/search');
$fb->text('id');
$fb->comboBox('vi_seminar_id', $viSeminarOptions);
$fb->autocompleter('person_id', $personOptions)->mustMatch();
$fb->comboBox('vi_accomodation_type_code', $viAccomodationTypeOptions);
// $fb->date('created_at')->disabled();
// $fb->textarea('notes');
$fb->yesNoBox('social_discount_applied');
// $fb->comboBox('currency_code', $currencyOptions);
$fb->comboBox('payment_type', $paymentTypeOptions);
$fb->submitButton('button.search');
$fb->write();